package com.example.demo_text;

import java.sql.Date;

public class Assignment {
    private int assignmentId;
    private int courseId;
    private String assignmentTitle;
    private String assignmentContent;
    private Date dueDate;
    private int maxScore;
    private boolean active;

    public Assignment() {
    }

    public Assignment(int assignmentId, int courseId, String assignmentTitle, String assignmentContent, 
                     Date dueDate, int maxScore, boolean active) {
        this.assignmentId = assignmentId;
        this.courseId = courseId;
        this.assignmentTitle = assignmentTitle;
        this.assignmentContent = assignmentContent;
        this.dueDate = dueDate;
        this.maxScore = maxScore;
        this.active = active;
    }

    public int getAssignmentId() {
        return assignmentId;
    }

    public void setAssignmentId(int assignmentId) {
        this.assignmentId = assignmentId;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public String getAssignmentTitle() {
        return assignmentTitle;
    }

    public void setAssignmentTitle(String assignmentTitle) {
        this.assignmentTitle = assignmentTitle;
    }

    public String getAssignmentContent() {
        return assignmentContent;
    }

    public void setAssignmentContent(String assignmentContent) {
        this.assignmentContent = assignmentContent;
    }

    public Date getDueDate() {
        return dueDate;
    }

    public void setDueDate(Date dueDate) {
        this.dueDate = dueDate;
    }

    public int getMaxScore() {
        return maxScore;
    }

    public void setMaxScore(int maxScore) {
        this.maxScore = maxScore;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }
} 